package com.huajin.gateway.nmap.domain;

import java.io.Serializable;
import java.util.Date;


/**
 * 资产表
 *
 * @author huajin
 * @email 1992lcg@163.com
 * @date 2018-10-30 18:49:51
 */

public class AssetDO implements Serializable {
    private static final long serialVersionUID = 1L;

    //序号
    private Integer id;
    //资产名称
    private String name;
    //IP
    private String ip;
    //mac地址
    private String mac;
    //OS
    private String os;
    //厂商
    private String vender;
    //端口
    private String ports;
    //状态
    private String status;
    //更新时间
    private Date flushTime;
    //审批
    private String isExamined;
    //资产组
    private Integer groupId;
    //种类
    private String type;
    //城市
    private String city;
    //县区
    private String town;
    //街道
    private String street;

    /**
     * 设置：序号
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取：序号
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置：资产名称
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取：资产名称
     */
    public String getName() {
        return name;
    }

    /**
     * 设置：IP
     */
    public void setIp(String ip) {
        this.ip = ip;
    }

    /**
     * 获取：IP
     */
    public String getIp() {
        return ip;
    }

    /**
     * 设置：mac地址
     */
    public void setMac(String mac) {
        this.mac = mac;
    }

    /**
     * 获取：mac地址
     */
    public String getMac() {
        return mac;
    }

    /**
     * 设置：OS
     */
    public void setOs(String os) {
        this.os = os;
    }

    /**
     * 获取：OS
     */
    public String getOs() {
        return os;
    }

    /**
     * 设置：厂商
     */
    public void setVender(String vender) {
        this.vender = vender;
    }

    /**
     * 获取：厂商
     */
    public String getVender() {
        return vender;
    }

    /**
     * 设置：端口
     */
    public void setPorts(String ports) {
        this.ports = ports;
    }

    /**
     * 获取：端口
     */
    public String getPorts() {
        return ports;
    }

    /**
     * 设置：状态
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * 获取：状态
     */
    public String getStatus() {
        return status;
    }

    /**
     * 设置：更新时间
     */
    public void setFlushTime(Date flushTime) {
        this.flushTime = flushTime;
    }

    /**
     * 获取：更新时间
     */
    public Date getFlushTime() {
        return flushTime;
    }

    /**
     * 设置：审批
     */
    public void setIsExamined(String isExamined) {
        this.isExamined = isExamined;
    }

    /**
     * 获取：审批
     */
    public String getIsExamined() {
        return isExamined;
    }

    /**
     * 设置：资产组
     */
    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    /**
     * 获取：资产组
     */
    public Integer getGroupId() {
        return groupId;
    }

    /**
     * 设置：种类
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * 获取：种类
     */
    public String getType() {
        return type;
    }

    /**
     * 设置：城市
     */
    public void setCity(String city) {
        this.city = city;
    }

    /**
     * 获取：城市
     */
    public String getCity() {
        return city;
    }

    /**
     * 设置：县区
     */
    public void setTown(String town) {
        this.town = town;
    }

    /**
     * 获取：县区
     */
    public String getTown() {
        return town;
    }

    /**
     * 设置：街道
     */
    public void setStreet(String street) {
        this.street = street;
    }

    /**
     * 获取：街道
     */
    public String getStreet() {
        return street;
    }

    @Override
    public String toString() {
        return "AssetDO{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", ip='" + ip + '\'' +
                ", mac='" + mac + '\'' +
                ", os='" + os + '\'' +
                ", vender='" + vender + '\'' +
                ", ports='" + ports + '\'' +
                ", status='" + status + '\'' +
                ", flushTime=" + flushTime +
                ", isExamined='" + isExamined + '\'' +
                ", groupId=" + groupId +
                ", type='" + type + '\'' +
                ", city='" + city + '\'' +
                ", town='" + town + '\'' +
                ", street='" + street + '\'' +
                '}';
    }
}
